package cn.zeng.dto;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

import static cn.zeng.dto.Color.BLACK;


/**
 * 代谢综合征
 *
 * @author zyb
 */
@Data
public class Metabolic {
    private String level = "不好玩";
    private String image= "u4736.png";

    /**
     * 腰围
     */
    private Integer waistCircumference = 121;
    private String waistCircumferenceColor = BLACK.getName();
    private String waistCircumferenceReference = "12~12";

    /**
     * 甘油三酯
     */
    private Double triglycerides = 12.;
    private String triglyceridesColor = BLACK.getName();
    private String triglyceridesReference = "211.21";

    /**
     * 高密度蛋白固醇
     */

    private Double highDensityLipoprotein = 12.;
    private String highDensityLipoproteinColor = BLACK.getName();
    private String highDensityLipoproteinReference = "21";

    /**
     * 收缩压
     */
    private Integer systolicBloodPressure = 12;

    /**
     * 舒张压
     */
    private Integer diastolicBloodPressure = 32;
    private String bloodPressureColor = BLACK.getName();
    private String bloodPressureReference = "23/121";


    /**
     * 空腹血糖
     */

    private Double fastingPlasmaGlucose = 231.;
    private String fastingPlasmaGlucoseColor = BLACK.getName();
    private String fastingPlasmaGlucoseReference = "12.333";

    /**
     * 改善方式
     */
    private String improveWay="、任务前二\t二恶\t而且翁我\t 个三十多个";


    public Map<String, Object> toMap() {
        Map<String, Object> map = new HashMap<>(19);
        map.put("Metabolic_level", level);
        map.put("Metabolic_image", image);
        map.put("Metabolic_waistCircumference", waistCircumference);
        map.put("Metabolic_waistCircumferenceColor", waistCircumferenceColor);
        map.put("Metabolic_waistCircumferenceReference", waistCircumferenceReference);
        map.put("Metabolic_triglycerides", triglycerides);
        map.put("Metabolic_triglyceridesColor", triglyceridesColor);
        map.put("Metabolic_triglyceridesReference", triglyceridesReference);
        map.put("Metabolic_highDensityLipoprotein", highDensityLipoprotein);
        map.put("Metabolic_highDensityLipoproteinColor", highDensityLipoproteinColor);
        map.put("Metabolic_highDensityLipoproteinReference", highDensityLipoproteinReference);
        map.put("Metabolic_systolicBloodPressure", systolicBloodPressure);
        map.put("Metabolic_diastolicBloodPressure", diastolicBloodPressure);
        map.put("Metabolic_bloodPressureColor", bloodPressureColor);
        map.put("Metabolic_bloodPressureReference", bloodPressureReference);
        map.put("Metabolic_fastingPlasmaGlucose", fastingPlasmaGlucose);
        map.put("Metabolic_fastingPlasmaGlucoseColor", fastingPlasmaGlucoseColor);
        map.put("Metabolic_fastingPlasmaGlucoseReference", fastingPlasmaGlucoseReference);
        map.put("Metabolic_improveWay", improveWay);
        return map;
    }

}
